<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html> 
<head> 
 <title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<meta content="noindex, nofollow" name="robots">
<script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>

<script language="javascript"> 
var oEditor = window.parent.InnerDialogLoaded() ; 
var FCK = oEditor.FCK ; 
var FCKLang = oEditor.FCKLang ; 
var FCKInsertplayer = oEditor.FCKInsertplayer ; 

window.onload = function () { 
	LoadSelected() ;
	window.parent.SetOkButton( true ) ; 
} 

var eSelected = FCK.Selection.MoveToAncestorNode( 'A' )

if ( eSelected )  
	FCK.Selection.MoveToNode( eSelected ) ; 

	function LoadSelected() { 
	if ( !eSelected ) 
	return ; 

	txtHref.value = eSelected.href ;  
	txtCaption.value = eSelected.innerText ;  
	}

	function Ok() { 
	if ( document.getElementById('txtHref').value.length > 0 ) 
	FCKInsertplayer.Add(txtHref.value, txtCaption.value ) ;  
	return true ; 
} 
</script>  

</head> 
<body scroll="no" style="overflow: hidden"> 
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
	<tr> 
		<td> 
			<table cellSpacing="0" cellPadding="0" align="center" border="0"> 
				<tr> 
					<td>预览图像<br><input id="txtCaption" type="text"><br>视频地址<br><input id="txtHref" type="text"></td> 
				</tr> 
			</table> 
		</td> 
	</tr> 
	</table> 
</body> 
</html> 